﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Module.Interfaces.Model;
using umbraco.cms.presentation.Trees;
using Module.MultiSiteFields.Controllers;

namespace Module.MultiSiteFields.Interfaces
{
    public interface IStartPointsController
    {
        Dictionary<TreeDefinition, List<TreeStartPoint>> GetAll();
        List<TreeStartPoint> GetAll(string forTreeWithAlias);
        TreeStartPoint Register(string treeAlais, string pointAlias, ActionWithResult<bool,TreeStartPoint, IModuleNode> methodToExact);
        TreeStartPoint ResolveSettings(TreeStartPoint pointToResolve, IModuleNode node);

        KeyValuePair<string,string> SetValue(TreeStartPoint treeStartPoint, string settingsKey, string settingsValue);
    }
}
